#include <stdio.h>

int main()
{
	int a = 100, b = 100, c = 80;
	printf("%d\n", a * 0.3 + b * 0.4 + c * 0.5);
	return 0;
}
